Dynomotion

Group: DynoMotion Message: 2971 From: bradodarb Date: 1/7/2012
Subject: Universal Home Routine Program
Hello everybody,

I would like to know if anybody

Has tried?
or
Is using?
or
Is willing to try?

the universal homing routine Tom and I put together?

I think it will work out great for most people's setups and hope that it gets proven out!

Thank you for your time,
Brad Murry
Group: DynoMotion Message: 2979 From: tmday7 Date: 1/8/2012
Subject: Re: Universal Home Routine Program
If i get MM3 configured for machine i will. Does this routine use mechanical switches to home? I have 1 switch on each axis that acts as a reference home switch and a limit switch. Would this setup work with your homing routine?

Thanks,
Troy

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
>
> Hello everybody,
>
> I would like to know if anybody
>
> Has tried?
> or
> Is using?
> or
> Is willing to try?
>
> the universal homing routine Tom and I put together?
>
> I think it will work out great for most people's setups and hope that it gets proven out!
>
> Thank you for your time,
> Brad Murry
>
Group: DynoMotion Message: 2992 From: Tom Kerekes Date: 1/8/2012
Subject: Re: Universal Home Routine Program
Hi Troy,
 
I think the Limits will need to be disabled before calling the Home and then re-enabled afterwards. With something like:
 
int SaveLimits;
 
SaveLimits = ch0->LimitOptions;
 
.
.
.
 
ch0->LimitOptions = SaveLimits;
 
 
 
 
I think the first step would be to test it by running it in KMotion.exe from the C Programs Screen.
 
Load the program HomeMM_V8.c.    Then scroll down the the LoadUserData function.
 
Change the parameters to suit your machine.  It is setup to just home one axis.
 
Then run it to see if it works.
 
If it works we can ask Brad how to set the equivalent parameters in MM3 to do the same homing without having to edit any C program.
 
(we would have to remove the call in main to LoadUserData) 
 
Thanks
TK